﻿@model Resto.CostControl.Core.MaterialPrice
@{
    ViewBag.Title = "供应商维护";
    Layout = "~/Views/Shared/_LayoutForm.cshtml"; 
}
@using (Html.AjaxBeginForm("Save"))
{
    <div class="pageFormContent">
        @Html.HiddenFor(model => model.Id)
        @Html.DWZDropDownListFor(model => model.MaterialId, "Material").Required()
        @Html.DWZDropDownListFor(model => model.SupplierId, "Supplier").Required()
        @Html.DWZTextBoxFor(model => model.Price).Number().Required()
        @Html.DWZTextBoxFor(model => model.PrePrice).Number().Required()
        @Html.DWZDateFor(model => model.StartDate)
        @Html.DWZDateFor(model => model.EndDate).CompareDate("StartDate")
        @Html.DWZTextAreaFor(model => model.Remark)
    </div>
}
@Html.FormBar()
